package com.ch.enreka.server;


import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
import org.springframework.core.io.ClassPathResource;
import org.springframework.util.FileCopyUtils;


import java.io.File;
import java.io.IOException;
import java.net.URL;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.util.Arrays;

/**
 * Created by admin on 2017/12/24.
 */
@SpringBootApplication
@EnableEurekaServer
public class ChEurekaServerApplication {
    public static void main(String[] args) {
        new SpringApplicationBuilder(ChEurekaServerApplication.class)
                .web(true)
                .run(args);
    }
}
